<?php

use yii\helpers\Html;

$config = Yii::$app->params['mail'];
/* @var $this \yii\web\View view component instance */
/* @var $message \yii\mail\MessageInterface the message being composed */
/* @var $content string main view render result */
?>
<?php $this->beginPage() ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::$app->charset ?>" />
        <title><?= Html::encode($this->title) ?></title>
        <?php $this->head() ?>
    </head>
    <body>
        <table border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#fff" width="860" style="border:none;">
            <tbody>
                <tr>
                    <td valign="top" style="background:#fff;">
                        <div style="height:105px;">
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tbody>
                                    <tr>
                                        <td style="width:50%;" valign="top">
                                            <a href="<?= $config['baseUrl'] ?>" style="border:none; margin-top:15px; display:inline-block;">
                                                <img src="<?= $config['logo'] ?>" alt="logo" style="border:none;" />
                                            </a>
                                        </td>
                                        <td style="width:50%;" align="right" valign="top">
                                            <div style="padding-top:60px;"></div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td valign="middle" style="height:4px;">
                        <table border="0" cellpadding="0" cellspacing="0" align="center">
                            <tbody>
                                <tr>
                                    <td style="height:4px;"><img src="<?= $config['line'] ?>" alt="line" style="display:inline-block; width:100%;" /></td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <?php $this->beginBody() ?>
                <?= $content ?>
                <?php $this->endBody() ?>
                <tr>
                    <td valign="top" style="background:#ededed;">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
                            <tbody>
                                <tr>
                                    <td style="padding:10px; text-align:left;">
                                        <font style="font-size:12px; font-family:Arial, Helvetica, sans-serif;display:block;">
                                            Hà Nội: Tầng 12A, tòa nhà 18 Tam Trinh, Hai Bà Trưng
                                            <br />
                                            Tel: 1900-585-888 (Nhánh 103 & 113), Fax: 04-3632-0987
                                        </font>
                                    </td>
                                    <td style="padding:10px; text-align:right;">
                                        <font style="font-size:12px; font-family:Arial, Helvetica, sans-serif;display:block;">
                                            TP.HCM: Lầu 3, tòa nhà VTC online, 132 Cộng Hòa, P4, Q. Tân Bình
                                            <br />
                                            Tel: 1900-585-888 (Nhánh 102), Fax: 08- 3811-4757
                                        </font>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </body>
</html>
<?php $this->endPage() ?>
